<template>
  <div>
    <el-button type="success" @click="toUrl">跳转注册</el-button>
  </div>
</template>

<script setup>
import {useRouter} from 'vue-router'
const router = useRouter()
const toUrl = ()=>{
  router.push({
    path:'/reg'
  })
}
</script>

<style scoped>

</style>
